package persistencia.dominio;

import persistencia.OidGenerator;

public class Puntuacion {
	private Long id;
	private double valor;
	private int orden;
	private boolean obligatoria;
	private Long idEx_Autoex;
	
	public  Puntuacion() {
	    id=OidGenerator.getNewId();
	}

	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	public double getValor() {
		return valor;
	}
	
	public void setValor(double valor) {
		this.valor = valor;
	}

	public int getOrden() {
		return orden;
	}

	public void setOrden(int orden) {
		this.orden = orden;
	}

	public Long getIdEx_Autoex() {
		return idEx_Autoex;
	}

	public void setIdEx_Autoex(Long idExamen) {
		this.idEx_Autoex = idExamen;
	}


	public boolean isObligatoria() {
		return obligatoria;
	}


	public void setObligatoria(boolean obligatoria) {
		this.obligatoria = obligatoria;
	}  
}
